package com.shop.shoporder.service.impl;

import com.shop.shoporder.entity.order.ExportRecord;
import com.shop.shoporder.mapper.order.ExportRecordMapper;
import com.shop.shoporder.service.ExportRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("exportRecordService")
public class ExportRecordServiceImpl implements ExportRecordService {
    @Autowired
    ExportRecordMapper exportRecordMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return exportRecordMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ExportRecord record) {
        return exportRecordMapper.insert(record);
    }

    @Override
    public int insertSelective(ExportRecord record) {
        return exportRecordMapper.insertSelective(record);
    }

    @Override
    public ExportRecord selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(ExportRecord record) {
        return 0;
    }

    @Override
    public List<ExportRecord> selectList() {
        return exportRecordMapper.selectList();
    }

    @Override
    public int updateByPrimaryKey(ExportRecord record) {
        return 0;
    }
}
